// noinspection JSUnusedGlobalSymbols
/**
 * TreeNode
 *
 * @author 冰凝
 * @date 2022/12/4 20:35
 */
export class TreeNode<
    T extends TreeNode<T, K>,
    K extends PropertyKey = string
> {
    public id: K
    public parentId: K
    public children?: Array<T>
}
